package com.glq1218.authentication.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author glq1218
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "在线用户信息")
public class OnlineUser {
    @Schema(description = "用户名")
    private String username;
    // private String nickname;
    // private String phone;
    // private String email;
    // private String role;
    // private String avatar;
    @Schema(description = "系统名称")
    private String osName;
    @Schema(description = "系统版本")
    private String osVersion;
    @Schema(description = "浏览器")
    private String browser;
    @Schema(description = "真实ip")
    private String ipAddress;
    @Schema(description = "是否移动设备")
    private boolean mobile;
}
